package com.zw.yzk.kabu.internal.module;

import android.support.v7.app.AppCompatActivity;

import dagger.Module;
import dagger.Provides;

/**
 * Created by zhanwei on 2016/12/24.
 */
@Module
public class ActivityModule {
    private final AppCompatActivity activity;

    public ActivityModule(AppCompatActivity appCompatActivity) {
        activity = appCompatActivity;
    }

    @Provides
    AppCompatActivity activity() {
        return this.activity;
    }
}
